package com.rd.sys.service.sys.user.impl;

import baseproj.common.exception.BaseServiceException;

/**
 * The Class UserAllInOneServiceException.
 */
public class UserAllInOneServiceException extends BaseServiceException {

    /** The Constant serialVersionUID. */
    private static final long serialVersionUID = 1L;

    public static final int USER_NOT_EXSIT = 1;

    /**
     * Instantiates a new user info service exception.
     * 
     * @param erroCode
     *            the erro code
     */
    public UserAllInOneServiceException(int erroCode) {
        super(erroCode);
        if (erroCode == USER_NOT_EXSIT) {
            // 用户登录账号名称已存在
            this.setErroDesc("用户不存在");
        }
    }
}
